package ynu.beggar.server.entities.DO;

import lombok.AllArgsConstructor;
import lombok.Data;
import ynu.beggar.server.entities.PO.UserInfoPO;


@Data
@AllArgsConstructor
public class UserBasicInfoDO {
    private int userId;
    private String userName;
    private String stuId;

    public UserBasicInfoDO(UserInfoPO userInfoPO) {
        this.userId = userInfoPO.getUserId();
        this.userName = userInfoPO.getUserName();
        this.stuId = userInfoPO.getStuId();
    }
}
